package PagePackage;

import org.openqa.selenium.support.PageFactory;

public abstract class anyPageClass extends PageClass {
	protected String baseUrl;
	public loginPageClass goToMainPage() {
		driver.get(baseUrl); 
		driver.manage().window().maximize();
		
		return MyPageFactory.getPage(driver, loginPageClass.class);
	}

}
